﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CoolCode.Web.UI.Controls
{
    public partial class TextRange : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public string TextFrom
        {
            get { return txtFrom.Text; }
            set { txtFrom.Text = value; }
        }

        public string TextTo
        {
            get { return txtTo.Text; }
            set { txtTo.Text = value; }
        }

        public Unit TextBoxWidth
        {
            get { return txtFrom.Width; }
            set
            {
                txtFrom.Width = value;
                txtTo.Width = value;
            }
        }
    }
}